chore: upgrade vuepress to rc.30 and theme-hope to rc.107 (rolldown)#1138
Merged
Merged
Conversation
Switch @vuepress/bundler-vite to the rolldown-driven build path and align the @vuepress/* plugins / helper to rc.130. theme-hope rc.107 also removes temp pages, which is the bulk of the time/memory win. Version changes: - vuepress / @vuepress/bundler-vite: rc.26 -> rc.30 - vuepress-theme-hope: rc.99 -> rc.107 - @vuepress/plugin-docsearch / plugin-links-check / helper / plugin-back-to-top: rc.120 -> rc.130 - sass-embedded: 1.93.3 -> 1.100.0 (required for theme-hope rc.107's new `if(sass(...): ...; else: ...)` SCSS syntax) Local build benchmark (pnpm run build, /usr/bin/time -l): - Before (rc.26): 112.30s build, peak RSS 6731 MB - After (rc.30): 58.67s build, peak RSS 5254 MB - Wins: -47.8% build time, -21.9% peak RSS Removes the CI build OOM risk on the 8 GB node heap without needing to raise --max_old_space_size, and roughly halves the build wall time. No source changes; only dependency versions and lockfile.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switch @vuepress/bundler-vite to the rolldown-driven build path and align the @vuepress/* plugins / helper to rc.130. theme-hope rc.107 also removes temp pages, which is the bulk of the time/memory win.
Version changes:
if(sass(...): ...; else: ...)SCSS syntax)Local build benchmark (pnpm run build, /usr/bin/time -l):
Removes the CI build OOM risk on the 8 GB node heap without needing to raise --max_old_space_size, and roughly halves the build wall time.
No source changes; only dependency versions and lockfile.